import * as tslib_1 from "tslib";
import { Entity, NgField, NgEntity } from '@farris/devkit';
var DFFEmployeeLevel18c0Entity = /** @class */ (function (_super) {
    tslib_1.__extends(DFFEmployeeLevel18c0Entity, _super);
    function DFFEmployeeLevel18c0Entity() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgField({
            originalDataField: 'EmployeeLevel',
            dataField: 'employeeLevel',
            primary: true,
            originalDataFieldType: 'String',
            initValue: '',
            path: 'EmployeeLevel.EmployeeLevel',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFEmployeeLevel18c0Entity.prototype, "employeeLevel", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'ID',
            dataField: 'employeeLevel_ID',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'EmployeeLevel.EmployeeLevel_ID',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFEmployeeLevel18c0Entity.prototype, "employeeLevel_ID", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Code',
            dataField: 'employeeLevel_Code',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'EmployeeLevel.EmployeeLevel_Code',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [100],
                    message: '最大长度为100',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFEmployeeLevel18c0Entity.prototype, "employeeLevel_Code", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Name',
            dataField: 'employeeLevel_Name',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'EmployeeLevel.EmployeeLevel_Name',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [1000],
                    message: '最大长度为1000',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFEmployeeLevel18c0Entity.prototype, "employeeLevel_Name", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'SortOrder',
            dataField: 'employeeLevel_SortOrder',
            originalDataFieldType: 'Number',
            initValue: 0,
            path: 'EmployeeLevel.EmployeeLevel_SortOrder',
        }),
        tslib_1.__metadata("design:type", Object)
    ], DFFEmployeeLevel18c0Entity.prototype, "employeeLevel_SortOrder", void 0);
    DFFEmployeeLevel18c0Entity = tslib_1.__decorate([
        NgEntity({
            originalCode: "EmployeeLevel",
            nodeCode: "employeeLevel"
        })
    ], DFFEmployeeLevel18c0Entity);
    return DFFEmployeeLevel18c0Entity;
}(Entity));
export { DFFEmployeeLevel18c0Entity };
